import { api } from "../utils/config"
import  { Account } from "../interface"
//集中管理接口
/**
 * 
 * @returns 
 */
export const getHomeData=()=>{
return api.get("prod/index")
}
 export const Login=(data:Account)=>{
   //  console.log(data,'接口管理')
   console.log(data,'接口')
    return api.post<Account>("user/login",data)
 }  
